package com.yal.service.impl;

import com.yal.dao.HealthCardDao;
import com.yal.entity.HealthCard;
import com.yal.service.HealthCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HealthCardServiceImpl implements HealthCardService {

    @Autowired
    HealthCardDao healthCardDao;

    @Override
    public List<HealthCard> findAll() {
        return healthCardDao.findAll();
    }
}
